import request from './utils/request'

export default {


  addPaper(object) {
    return request({
      url: `/eduservice/edu_paper`,
      method: 'post',
      data:object
    })
  },
  deletePaper(id) {
    return request({
      url: `/eduservice/edu_paper/${id}`,
      method: 'delete',
      
    })
  },
  getPaperListByCourseId(courseId) {
    return request({
      url: `/eduservice/edu_paper/getPaperListById/${courseId}`,
      method: 'get'
      
    })
  },
//////////////////////////////////////////

  addPaperSysType(object) {
    return request({
      url: `/eduservice/edu_paper_and_question_type_sys`,
      method: 'post',
      data:object,
    })
  },
  deletePaperSysType(id) {
    return request({
      url: `/eduservice/edu_paper_and_question_type_sys/${id}`,
      method: 'delete',
      
    })
  },
}
